.PHONY:clean
SRC=$(wildcard *.c)
TARGETS=$(patsubst %.c,%,$(SRC))
OBJS=$(patsubst %.c,%.o,$(SRC))

$(TARGET):$(OBJS)

clean:
	$(RM) $(OBJS) $(TARGETS)